package com.dlz.systemshop.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;

@NoArgsConstructor
@AllArgsConstructor
@Getter
public enum ResponseCodeEnum {
    NO_LOGIN(2, "token不存在或者已经过期"),
    SUCCESS(0, "请求成功"),
    LOGIN_FAIL(1000, "用户名或密码错误"),
    ERROR(-1, "内部错误"),
    ;
    private int code;
    private String msg;
}
